package com.sugon.dao;

import com.sugon.entity.ModuleStatusChangeRecordEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 模具状态变化记录Dao
 *
 * @author YuXD
 * @date 2021-04-05 09:21:10
 */
public interface ModuleStatusChangeRecordDao extends BaseDao<ModuleStatusChangeRecordEntity> {

    /**
     * 获取指定模具最新一条的状态变更记录
     *
     * @param moldId 模具ID
     * @return
     */
    ModuleStatusChangeRecordEntity getLastestStatusChangeRecordByMoldId(@Param("moldId") String moldId);

}
